#include "milLibPublicInterface.h"
#include <cstdlib>

bool milLibPublicInterface::write_png_image(string* filename)
{
	
}

bool milLibPublicInterface::set_text_chunk(string* filename)
{
	textChunk =
		new TextChunk(TextChunk::readTextChunk(filename).getAllStrings());
}

bool milLibPublicInterface::load_png(string* filename)
{
	
}

milLibPublicInterface::milLibPublicInterface()
{
	textChunk = NULL;
}

milLibPublicInterface::~milLibPublicInterface()
{
	//null check and delete
	if(textChunk != NULL)
	{
		delete textChunk;
	}
}